package ooday02;

public class persondemo {
    public static void main(String[] args) {
        docther doczs = new docther(23, "张三", "长沙", "dc1052");

        student stuls = new student(18, "李四", "长沙", "class123", "stu123");

        tecther thww = new tecther(25, "王五", "长沙", "class123", 4000);
//        doczs.eat();
//        doczs.sayhi();
//        doczs.sleep();
        doczs.cut();

        stuls.eat();
        stuls.study();
        stuls.sayhi();
        stuls.sleep();

        thww.sayhi();
        thww.sleep();
        thww.teach("陈七");



    }
}
